package org.fisco.bcos.asset.service.impl;

import java.math.BigInteger;

import org.fisco.bcos.asset.client.CharityDonationClient;

import org.fisco.bcos.asset.service.RegulatorService;
import org.fisco.bcos.sdk.model.TransactionReceipt;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;

@Service
public class RegulatorServiceImpl extends CharityServiceImpl implements RegulatorService {

    @Autowired
    private CharityDonationClient charityDonationClient;

    @Override
    public void approveProject(BigInteger projectId) {
        charityDonationClient.approveProject(projectId);
    }
}